package base2

var CoreUtil = &CoreUtilTool{}

// core 工具类(全局函数注册)
type CoreUtilTool struct {
	//配置获取(映射函数utils.ConfigUtil.Get)
	ConfigGet func(key string, defaultValue any) any
	//结构体转换map(映射函数utils.ReflectUtil.StructToMap)
	ReflectStructToMap func(obj interface{}) map[string]interface{}
	//类型转换int(映射函数ConvertUtil.ToInt)
	ConvertToInt   func(i interface{}) int
	ConvertToInt64 func(i interface{}) int64
}
